package com.boarsoft.message.batch;

public class MsgTableCutCfg {
	/** 消息失效时间 */
	protected int expiredTime = 2880;
	/** 消息备份表数量 */
	protected int backupTables = 20;
	/** 备份表单表最大容量 */
	protected int tableCapacity = 8000000;
	/** 备份标记，0表示不备份，1表示备份 */
	protected boolean needBackup = false;
	/** 单次备份的数据数量 */
	protected int batchSize = 5000;

	public int getExpiredTime() {
		return expiredTime;
	}

	public void setExpiredTime(int expiredTime) {
		this.expiredTime = expiredTime;
	}

	public int getBackupTables() {
		return backupTables;
	}

	public void setBackupTables(int backupTables) {
		this.backupTables = backupTables;
	}

	public int getTableCapacity() {
		return tableCapacity;
	}

	public void setTableCapacity(int tableCapacity) {
		this.tableCapacity = tableCapacity;
	}

	public boolean isNeedBackup() {
		return needBackup;
	}

	public void setNeedBackup(boolean needBackup) {
		this.needBackup = needBackup;
	}

	public int getBatchSize() {
		return batchSize;
	}

	public void setBatchSize(int batchSize) {
		this.batchSize = batchSize;
	}
	
}
